#ifndef __RTC_H
#define __RTC_H
#include <stdint.h>
#include <stdbool.h>

void RTC_TimeShow(void);
void RTC_Set_AlarmA(uint8_t hour,uint8_t min,uint8_t sec);
void RTC_Set_WakeUp(uint32_t wksel,uint16_t cnt);

uint8_t My_RTC_Init(void);
void Refresh_Alarm_Clocks(void);

void RTC_Set(uint16_t year, uint8_t mon, uint8_t day, uint8_t hour, uint8_t min, uint8_t sec);
void RTC_Get(void);
uint8_t RTC_Get_Week(uint16_t year,uint8_t month,uint8_t day);

extern uint32_t Use_XGate_Days;

#endif
